projects
/
ostree.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3ab6910
)
core: Ensure we clean up leftover directories during merge
author
Colin Walters
<walters@verbum.org>
Fri, 2 Dec 2011 22:58:45 +0000
(17:58 -0500)
committer
Colin Walters
<walters@verbum.org>
Fri, 2 Dec 2011 22:58:45 +0000
(17:58 -0500)
(Not sure why this regressed)
src/libotutil/ot-gio-utils.c
patch
|
blob
|
history
diff --git
a/src/libotutil/ot-gio-utils.c
b/src/libotutil/ot-gio-utils.c
index ed730e773f43690addb02d74a36e0e54f1400792..cff99445ac1a4cdf761c1fc76c802c47676fb61b 100644
(file)
--- a/
src/libotutil/ot-gio-utils.c
+++ b/
src/libotutil/ot-gio-utils.c
@@
-276,6
+276,8
@@
ot_gfile_merge_dirs (GFile *destination,
else
goto out;
+ (void) rmdir (ot_gfile_get_path_cached (src));
+
ret = TRUE;
out:
g_clear_object (&src_fileinfo);